<h1>Edit account</h1>
<div class="form-field">
	<label>Username:</label>
	<b>{$user_authenticated->getUsername()}</b>
</div>
<div class="form-field">
	<label>From:</label>
	<b>{if $user_authenticated->getIP()}{$user_authenticated->getIP()}{else}Never logged in{/if}</b>
</div>
<div class="form-field">
	<label>Member since:</label>
	<b>{$user_authenticated->getRegistration()}</b>
</div>
<div class="form-field">
	<label>Latest:</label>
	<b>{if $user_authenticated->getLastLogin()}{$user_authenticated->getLastLogin()}{else}Never logged in{/if}</b>
</div>
<div class="form-field">
	<label>Level:</label>
	<b>
		{if $user_authenticated->isSuperAdmin()}
			Super Administrator
		{elseif $user_authenticated->isAdmin()}
			Administrator
		{else}
			Regular user
		{/if}
	</b>
</div>
<h1>Update information</h1>
<form action="" method="post">
	<div class="form-field">
		<label>Email:</label>
		<input type="text" name="email" value="{$user->getEmail()}" class="std-field-width" />
	</div>
	<div class="form-field">
		<label>Privacy code:</label>
		<input type="text" name="code" value="{$user->getCode()}" class="std-field-width" /> (optional)
	</div>
	<div class="form-field">
		<label>&nbsp;</label>
		<input type="submit" name="update_info_button" value="Update" />
	</div>
</form>
<h1>Change password</h1>
<form action="" method="post">
	<div class="form-field">
		<label>New password:</label>
		<input type="password" name="new_password" value="" class="std-field-width" />
	</div>
	<div class="form-field">
		<label>Confirm password:</label>
		<input type="password" name="confirm_password" value="" class="std-field-width" />
	</div>
	<div class="form-field">
		<label>&nbsp;</label>
		<input type="submit" name="update_pass_button" value="Update" />
	</div>
</form>